
<ion-side-menus>
  <ion-header-bar>
    <h1 class="title">用户登录</h1>
    <!--<div class="buttons">-->
      <!--<button class="button button-clear" ng-click="closeLogin()">Close</button>-->
    <!--</div>-->
  </ion-header-bar>
  <ion-content has-bouncing="true" overflow-scroll="false">
    <form ng-submit="doLogin()">
      <div class="list">
          <label class="item item-input">
              <!--<span class="input-label">用户名</span>-->
              <i class="icon ion-person" style="color: #5d9fe2;margin-right: 10px"></i>
              <input type="text" ng-model="loginData.username" placeholder="请输入用户名">
          </label>
          <label class="item item-input">
              <!--<span class="input-label">密码</span>-->
              <i class="icon ion-locked" style="color: #5d9fe2;margin-right: 10px"></i>
              <input type="password" ng-model="loginData.password" placeholder="请输入密码">
          </label>
          <label class="item">
              <button class="button button-block button-positive" type="submit">登录</button>
          </label>
      </div>
  </form>

      <div style="text-align: center;">
          <div id="testId" ng-if="show" class="alert">
              <span style="padding: 10px;background-color: #000000;color: #ffffff">{{message}}</span>
          </div>
      </div>

  </ion-content>
</ion-side-menus>